<script type="text/javascript">
    $(function(){
        $("#bqcknbly").datagrid({
            url:encodeURI(encodeURI('${base}/tjbb/ywsfcbb/bqcknblylist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}'))
        })
    })
</script>
<div style="width:100%;height:100%;">
    <div id="bqcknbly_toolbar">
    <#--    <div class="textcon">
            <table class="tb">

            </table>
        </div>-->
    </div>
    <table id="bqcknbly" class="easyui-datagrid" data-options="
        <#--url:'${base}/tjbb/ywsfcbb/bqcknbly',-->
       <#-- url:'${base}/tjbb/ywsfcbb/bqcknblylist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}',-->
        fit:true,
        <#--pagination:true,-->
        rownumbers: true,
        singleSelect:true,
        showFooter:true,
        fitColumns:true,
        pageNumber: 1,
        toolbar:'#bqcknbly_toolbar'
">
        <thead>
        <tr>
            <th data-options="field:'FLRQ',width:12,align:'center'">发料日期</th>
            <th data-options="field:'CODE',width:10,align:'center'">物资编码</th>
            <th data-options="field:'WZ_NAME',width:10,align: 'center'">物资名称</th>
            <th data-options="field:'GGXH',width:4,align:'center'">规格型号</th>
            <th data-options="field:'TH',width:7,align: 'center'">图号</th>
            <th data-options="field:'FLR',width:10,align: 'center'">发料人</th>
            <th data-options="field:'LLGS',width:10,align: 'center'">领料单位</th>
            <th data-options="field:'LLBM',width:10,align: 'center'">领料部门</th>
            <th data-options="field:'LLR',width:10,align: 'center'">领料人</th>
            <th data-options="field:'CK',width:10,align: 'center'">仓库</th>
            <th data-options="field:'LYSL',width:10,formatter:formatSlForHtml,align: 'right'">领料数量</th>
            <#--<th data-options="field:'CK_NAME',width:10,align: 'center'">仓库</th>-->
        </tr>
        </thead>
    </table>
</div>